# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /opt/cvsroot/dcalc/gtk/gdcalc.ebuild,v 1.1 2006/12/31 01:41:41 bhepple Exp $

DESCRIPTION="Gnome RPN calculator program"
HOMEPAGE="http://bhepple.freeshell.org/dcalc/unix"
SRC_URI="http://bhepple.freeshell.org/dcalc/unix/${P}.tar.gz"
LICENSE="as-is GPL-2"
SLOT="0"
KEYWORDS="x86"

#DEPEND=">=gnome-base/gnome-libs-1.4.2"

S=${WORKDIR}/${P}

src_unpack() {
	unpack ${A}
}

src_compile() {
   ./configure --prefix=/usr                                       \
               --disable-nls || die
	emake || die
}

src_install () {
	make \
		prefix=${D}/usr \
		install || die
        dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README readme.gjots
        dohtml manual_en.html

}
